package com.jh.paymentchannel.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;
import java.util.Date;

@Entity
@Table(name = "t_real_name_img")
public class RealNameImg implements Serializable {

    private static final long serialVersionUID = 1L;


    @Id
    @Column(name = "id")
    private int id;


    @Column(name = "realname")
    private String realname;

    @Column(name = "idcard")
    private String idcard;

    @Column(name = "address")
    private String address;


    @Column(name = "side")
    private String side;

    public String getOrderid() {
        return orderid;
    }

    public void setOrderid(String orderid) {
        this.orderid = orderid;
    }

    @Column(name = "orderid")
    private String orderid;


    @Column(name = "user_id")
    private long userId;

    @Column(name = "auth_time")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    private Date authTime;

    @Column(name = "result")
    private String result;

    public String getResult() {
        return result;
    }

    public void setResult(String result) {
        this.result = result;
    }


    public Date getAuthTime() {
        return authTime;
    }

    public void setAuthTime(Date authTime) {
        this.authTime = authTime;
    }

    public long getUserId() {

        return userId;
    }

    public void setUserId(long userId) {
        this.userId = userId;
    }


    public String getSide() {

        return side;
    }

    public void setSide(String side) {
        this.side = side;
    }

    public String getAddress() {

        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getIdcard() {

        return idcard;
    }

    public void setIdcard(String idcard) {
        this.idcard = idcard;
    }

    public String getRealname() {

        return realname;
    }

    public void setRealname(String realname) {
        this.realname = realname;
    }

    public int getId() {

        return id;
    }

    public void setId(int id) {
        this.id = id;
    }
}
